
import Counter from "@/components/Counter"

export default function Template({ children }: { children: React.ReactNode }) {
  return (
    <div>
      <header className="bg-white shadow">
        <div className="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8">
          <h1 className="text-3xl font-bold tracking-tight text-gray-900">Dashboard</h1>
          <Counter />
        </div>
      </header>
      { children }
    </div>
  )
}